package com.samson.elasticsearch.dao;

import com.samson.elasticsearch.entity.EmployeeEntity;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * @author samson
 * @version 1.0
 * @date 2019/7/3 12:04
 */

@Repository
public interface EmployeeDao extends ElasticsearchRepository<EmployeeEntity,String> {

    EmployeeEntity queryEmployeeById(String id);

}
